projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44c4fae
)
Stack: Fix copy-paste error
author
Daniel Boles
<dboles@src.gnome.org>
Tue, 1 Aug 2017 18:18:39 +0000
(19:18 +0100)
committer
Daniel Boles
<dboles@src.gnome.org>
Tue, 1 Aug 2017 18:18:39 +0000
(19:18 +0100)
This fixes Coverity CID
1452217
.
gtk/gtkstack.c
patch
|
blob
|
history
diff --git
a/gtk/gtkstack.c
b/gtk/gtkstack.c
index b77bde2cf6d966b3a186709dc58c084e0666a4a4..f64f763edac66d46f23cb9a024c8838db001a4d3 100644
(file)
--- a/
gtk/gtkstack.c
+++ b/
gtk/gtkstack.c
@@
-2098,7
+2098,7
@@
gtk_stack_size_allocate (GtkWidget *widget,
if (valign == GTK_ALIGN_CENTER || valign == GTK_ALIGN_FILL)
child_allocation.y = (allocation->height - child_allocation.height) / 2;
else if (valign == GTK_ALIGN_END)
- child_allocation.
x
= (allocation->height - child_allocation.height);
+ child_allocation.
y
= (allocation->height - child_allocation.height);
}
gtk_widget_size_allocate (priv->visible_child->widget, &child_allocation, -1, &child_clip);